<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: IArrayAccessor&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1test_1_1_i_array_accessor.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">IArrayAccessor&lt; T &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Common interface to provide information and access to array like structures.  
 <a href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_i_array_accessor_8h_source.xhtml">IArrayAccessor.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afb9ded5f49336ae503bb9f2035ea902b"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a> = T</td></tr>
<tr class="memdesc:afb9ded5f49336ae503bb9f2035ea902b"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarm__compute_1_1_array.xhtml" title="Basic implementation of the IArray interface which allocates a static number of T values...">Array</a> value type.  <a href="#afb9ded5f49336ae503bb9f2035ea902b">More...</a><br /></td></tr>
<tr class="separator:afb9ded5f49336ae503bb9f2035ea902b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aab5e9c61ab48807226cd3187db35c9ba"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#aab5e9c61ab48807226cd3187db35c9ba">~IArrayAccessor</a> ()=default</td></tr>
<tr class="memdesc:aab5e9c61ab48807226cd3187db35c9ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <a href="#aab5e9c61ab48807226cd3187db35c9ba">More...</a><br /></td></tr>
<tr class="separator:aab5e9c61ab48807226cd3187db35c9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19ecfde9ec6b2dda6d06cc79dd8d956c"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#a19ecfde9ec6b2dda6d06cc79dd8d956c">num_values</a> () const =0</td></tr>
<tr class="memdesc:a19ecfde9ec6b2dda6d06cc79dd8d956c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of elements of the tensor.  <a href="#a19ecfde9ec6b2dda6d06cc79dd8d956c">More...</a><br /></td></tr>
<tr class="separator:a19ecfde9ec6b2dda6d06cc79dd8d956c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e1979433c9e97e4797fdb060ca5e3ad"><td class="memItemLeft" align="right" valign="top">virtual T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#a4e1979433c9e97e4797fdb060ca5e3ad">buffer</a> ()=0</td></tr>
<tr class="memdesc:a4e1979433c9e97e4797fdb060ca5e3ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to the buffer.  <a href="#a4e1979433c9e97e4797fdb060ca5e3ad">More...</a><br /></td></tr>
<tr class="separator:a4e1979433c9e97e4797fdb060ca5e3ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3243d314953e018ebcaf98128068110"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#aa3243d314953e018ebcaf98128068110">resize</a> (size_t num)=0</td></tr>
<tr class="memdesc:aa3243d314953e018ebcaf98128068110"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize array.  <a href="#aa3243d314953e018ebcaf98128068110">More...</a><br /></td></tr>
<tr class="separator:aa3243d314953e018ebcaf98128068110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1d196a1f89d9889461e6920b92d4db5"><td class="memItemLeft" align="right" valign="top">virtual T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#ad1d196a1f89d9889461e6920b92d4db5">at</a> (size_t index) const =0</td></tr>
<tr class="memdesc:ad1d196a1f89d9889461e6920b92d4db5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to the element of the array located at the given index.  <a href="#ad1d196a1f89d9889461e6920b92d4db5">More...</a><br /></td></tr>
<tr class="separator:ad1d196a1f89d9889461e6920b92d4db5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class arm_compute::test::IArrayAccessor&lt; T &gt;</h3>

<p>Common interface to provide information and access to array like structures. </p>

<p>Definition at line <a class="el" href="_i_array_accessor_8h_source.xhtml#l00035">35</a> of file <a class="el" href="_i_array_accessor_8h_source.xhtml">IArrayAccessor.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="afb9ded5f49336ae503bb9f2035ea902b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a> =  T</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classarm__compute_1_1_array.xhtml" title="Basic implementation of the IArray interface which allocates a static number of T values...">Array</a> value type. </p>

<p>Definition at line <a class="el" href="_i_array_accessor_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_i_array_accessor_8h_source.xhtml">IArrayAccessor.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aab5e9c61ab48807226cd3187db35c9ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ~<a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml">IArrayAccessor</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Virtual destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad1d196a1f89d9889461e6920b92d4db5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual T&amp; at </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reference to the element of the array located at the given index. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>Index of the element</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the element of the array located at the given index. </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1test_1_1_c_l_array_accessor.xhtml#aa733629a56800aca0b5cb4608069718b">CLArrayAccessor&lt; T &gt;</a>, and <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#aa733629a56800aca0b5cb4608069718b">ArrayAccessor&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a4e1979433c9e97e4797fdb060ca5e3ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual T* buffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Access to the buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the first element in the buffer. </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1test_1_1_c_l_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">CLArrayAccessor&lt; T &gt;</a>, and <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">ArrayAccessor&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a19ecfde9ec6b2dda6d06cc79dd8d956c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t num_values </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Number of elements of the tensor. </p>
<dl class="section return"><dt>Returns</dt><dd>the number of elements. </dd></dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1test_1_1_c_l_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">CLArrayAccessor&lt; T &gt;</a>, and <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">ArrayAccessor&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="aa3243d314953e018ebcaf98128068110"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void resize </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resize array. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>The new array size in number of elements </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classarm__compute_1_1test_1_1_c_l_array_accessor.xhtml#a0cafaca7cb86d89b5f20f987448c341c">CLArrayAccessor&lt; T &gt;</a>, and <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a0cafaca7cb86d89b5f20f987448c341c">ArrayAccessor&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>tests/<a class="el" href="_i_array_accessor_8h_source.xhtml">IArrayAccessor.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml">IArrayAccessor</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:44 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
